<template>
  <router-view />
</template>
<script setup>
  import { onBeforeMount } from 'vue';
  import { systemStore } from '@/pinia/system';
  import { storeToRefs } from 'pinia';
  let store = storeToRefs(systemStore());
  onBeforeMount(() => {
    //刷新  清除标志 重新加载路由
    store.flag.value = 0;
  });
</script>
